package forum.service.rpc.api;

import forum.domain.Token;

/**
 * Created by Administrator on 2017/4/19.
 */
public interface TokenService {

//    Object getTokenList(int page, int size, String sort, String operation, String key, String value);


    Object getTokenById(Integer id);

    Object createToken(Token token);

    public Object findByTokenname(String tokenname) ;

    Object updateUserById(Token token);

    public Object deleteTokenByTokenname(String tokenname);

    Object deleteTokenByIds(Integer tokenId);

    public String createCode() ;
}
